package text
Import Path
github.com/K-Phoen/grabana/text (on go.dev)
Dependency Relation
imports 4 packages, and imported by one package
Involved Source Files
text.go
Package-Level Type Names (total 2)
Option represents an option that can be used to configure a text panel.
func Description(content string) Option
func Height(height string) Option
func HTML(content string) Option
func Links(panelLinks ...links.Link) Option
func Markdown(content string) Option
func Span(span float32) Option
func Transparent() Option
func New(title string, options ...Option) (*Text, error)
func github.com/K-Phoen/grabana/row.WithText(title string, options ...Option) row.Option
Package-Level Functions (total 8)
Description annotates the current visualization with a human-readable description.
Height sets the height of the panel, in pixels. Example: "400px".
HTML sets the content of the panel, to be rendered as HTML.
Links adds links to be displayed on this panel.
Markdown sets the content of the panel, to be rendered as markdown.
New creates a new text panel.
Span sets the width of the panel, in grid units. Should be a positive
number between 1 and 12. Example: 6.
Transparent makes the background transparent.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |